<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文本</title>
    <script src="node_modules/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
    <span>Message: {{msg}}</span><br/>
    <span v-once>This will never change: {{msg}}</span><br/>
    <input v-model="msg">
    <div v-html="rawHtml"></div>
    <div>{{html}}</div>
</div>

<script>
    var app = new Vue({
        el: '#app',
        data: {
            msg: 'hello!',
            rawHtml: '<div>{{msg}}</div>',
            html: '<div>{{msg}}</div>'
        }
    })
</script>

</body>
</html>